<?php
declare (strict_types=1);

namespace app\model;

use think\Model;
use think\model\relation\HasMany;


/**
 * @mixin \think\Model
 */
class FetchUrlModel extends Model
{
    //
    const STATUS_FETCHING = 1;
    protected $table = 'fetch_urls';

    function tasks(): HasMany
    {
        return $this->hasMany(FetchUrlModel::class, 'fetch_url_id');
    }
}
